package cn.tx.shiro.service.impl;

import cn.tx.shiro.dao.UserMapper;
import cn.tx.shiro.entity.User;
import cn.tx.shiro.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description: 描述
 * @Author：XiaoBing
 * @Date：2020/11/2 17:42
 * @Version：1.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public User selectByUserName(String username) {
        return userMapper.selectByUserName(username);
    }
}
